#pragma once;

class Huffman
{
public:
	Huffman();
	void setCode(unsigned int code);
	void setLen(int len);
	void setSymbol(char symbol);

	char getSymbol(){return symbol;}
	unsigned int getCode(){return code;}
	int getLen(){return len;}

private:
	char symbol; 
	unsigned int code; 
	int len;
};

Huffman::Huffman() : code(0), len(0)
{
}

void Huffman::setCode(unsigned int code)
{
	this->code = code;
}

void Huffman::setLen(int len)
{
	this->len = len;
}

void Huffman::setSymbol(char symbol)
{
	this->symbol = symbol;
}
